powered by
On the veritical axis the means are marked. Then in a greedy fashion means that are not significantly different are linked by a line.
plotPairwiseTests(p.vals, means, alpha=0.05, digits=3, mar=c(2,10,3,1), ...)
$p.value
data(iris) tmp1 <- pairwise.wilcox.test(iris$Sepal.Width, iris$Species) tmp2 <- tapply(iris$Sepal.Width, iris$Species, median, na.rm=TRUE) plotPairwiseTests(tmp1$p.value, tmp2, alpha=0.001)
Run the code above in your browser using DataLab